package com.xyz.study.spring.service;


import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

@Service
public class SpringTestService {

    @Bean(initMethod = "initMethod", destroyMethod = "destroyMethod")
    public SpringTestBean springTestBean(){
        return new SpringTestBean();
    }
}
